package com.hjwoo.app.utils;

/**
 * Created by liuderu on 2016/3/25.
 * 自定义log类，用于生成日志  发布应用时可关闭
 */

import android.util.Log;

public class LoanLog
{
    static boolean isLogEnabled = true;
//    static boolean isLogEnabled = false;

    public LoanLog()
    {
    }

    public static void i(String tag, String content)
    {
        if (isLogEnabled)
        {
            Log.i(tag, content);
        }
    }

    public static void e(String tag, String content)
    {
        if (isLogEnabled)
        {
            Log.e(tag, content);
        }
    }

}
